package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by user1 on 2017/4/5.
 */

public class OpenBikeResultBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"orderModel":{"id":58765,"orderNum":"1755220170405134334","status":10,"realPrice":0,"orderTime":1491371014095,"finishTime":null,"startBillingTime":1491371014095,"endBillingTime":null,"bikeOrderModel":{"bikeId":543,"picture":0,"type":2,"latitude":39.958752,"longitude":116.323659,"price":1200,"licenseTag":"80000005"},"downLatitude":0,"downLongitude":0,"onLatitude":39.958752,"onLongitude":116.323659,"licenseTag":"80000005","platform":1,"pushNumber":0,"pushTime":null,"updateLockTime":null,"lockstatus":0,"userId":17552,"openPush":0},"bikeModel":{"id":543,"bikeId":543,"licenseTag":"80000005","useStatus":10,"lockStatus":1,"bikeStatus":1,"battery":0,"longitude":116.323659,"latitude":39.958752,"bikeMachineUnique":"98:5D:AD:1D:59:30","bikeMachinePassword":"12,23,24,25,26,27","bikeMachineKey":"11,22,33,44,55,66,77,88,99,98,97,96,95,94,93,92","lockType":2,"bikeType":0}}
     */

    @SerializedName("status")
    private int status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private Object debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * orderModel : {"id":58765,"orderNum":"1755220170405134334","status":10,"realPrice":0,"orderTime":1491371014095,"finishTime":null,"startBillingTime":1491371014095,"endBillingTime":null,"bikeOrderModel":{"bikeId":543,"picture":0,"type":2,"latitude":39.958752,"longitude":116.323659,"price":1200,"licenseTag":"80000005"},"downLatitude":0,"downLongitude":0,"onLatitude":39.958752,"onLongitude":116.323659,"licenseTag":"80000005","platform":1,"pushNumber":0,"pushTime":null,"updateLockTime":null,"lockstatus":0,"userId":17552,"openPush":0}
         * bikeModel : {"id":543,"bikeId":543,"licenseTag":"80000005","useStatus":10,"lockStatus":1,"bikeStatus":1,"battery":0,"longitude":116.323659,"latitude":39.958752,"bikeMachineUnique":"98:5D:AD:1D:59:30","bikeMachinePassword":"12,23,24,25,26,27","bikeMachineKey":"11,22,33,44,55,66,77,88,99,98,97,96,95,94,93,92","lockType":2,"bikeType":0}
         */

        @SerializedName("orderModel")
        private OrderModelBean orderModel;
        @SerializedName("bikeModel")
        private BikeModelBean bikeModel;

        public OrderModelBean getOrderModel() {
            return orderModel;
        }

        public void setOrderModel(OrderModelBean orderModel) {
            this.orderModel = orderModel;
        }

        public BikeModelBean getBikeModel() {
            return bikeModel;
        }

        public void setBikeModel(BikeModelBean bikeModel) {
            this.bikeModel = bikeModel;
        }

        public static class OrderModelBean {
            /**
             * id : 58765
             * orderNum : 1755220170405134334
             * status : 10
             * realPrice : 0
             * orderTime : 1491371014095
             * finishTime : null
             * startBillingTime : 1491371014095
             * endBillingTime : null
             * bikeOrderModel : {"bikeId":543,"picture":0,"type":2,"latitude":39.958752,"longitude":116.323659,"price":1200,"licenseTag":"80000005"}
             * downLatitude : 0
             * downLongitude : 0
             * onLatitude : 39.958752
             * onLongitude : 116.323659
             * licenseTag : 80000005
             * platform : 1
             * pushNumber : 0
             * pushTime : null
             * updateLockTime : null
             * lockstatus : 0
             * userId : 17552
             * openPush : 0
             */

            @SerializedName("id")
            private String id;
            @SerializedName("orderNum")
            private String orderNum;
            @SerializedName("status")
            private int status;
            @SerializedName("realPrice")
            private int realPrice;
            @SerializedName("orderTime")
            private long orderTime;
            @SerializedName("finishTime")
            private long finishTime;
            @SerializedName("startBillingTime")
            private long startBillingTime;
            @SerializedName("endBillingTime")
            private long endBillingTime;
            @SerializedName("bikeOrderModel")
            private BikeOrderModelBean bikeOrderModel;
            @SerializedName("downLatitude")
            private double downLatitude;
            @SerializedName("downLongitude")
            private double downLongitude;
            @SerializedName("onLatitude")
            private double onLatitude;
            @SerializedName("onLongitude")
            private double onLongitude;
            @SerializedName("licenseTag")
            private String licenseTag;
            @SerializedName("platform")
            private int platform;
            @SerializedName("pushNumber")
            private String pushNumber;
            @SerializedName("pushTime")
            private long pushTime;
            @SerializedName("updateLockTime")
            private long updateLockTime;
            @SerializedName("lockstatus")
            private int lockstatus;
            @SerializedName("userId")
            private String userId;
            @SerializedName("openPush")
            private String openPush;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(String orderNum) {
                this.orderNum = orderNum;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getRealPrice() {
                return realPrice;
            }

            public void setRealPrice(int realPrice) {
                this.realPrice = realPrice;
            }

            public long getOrderTime() {
                return orderTime;
            }

            public void setOrderTime(long orderTime) {
                this.orderTime = orderTime;
            }

            public long getFinishTime() {
                return finishTime;
            }

            public void setFinishTime(long finishTime) {
                this.finishTime = finishTime;
            }

            public long getStartBillingTime() {
                return startBillingTime;
            }

            public void setStartBillingTime(long startBillingTime) {
                this.startBillingTime = startBillingTime;
            }

            public long getEndBillingTime() {
                return endBillingTime;
            }

            public void setEndBillingTime(long endBillingTime) {
                this.endBillingTime = endBillingTime;
            }

            public BikeOrderModelBean getBikeOrderModel() {
                return bikeOrderModel;
            }

            public void setBikeOrderModel(BikeOrderModelBean bikeOrderModel) {
                this.bikeOrderModel = bikeOrderModel;
            }

            public double getDownLatitude() {
                return downLatitude;
            }

            public void setDownLatitude(double downLatitude) {
                this.downLatitude = downLatitude;
            }

            public double getDownLongitude() {
                return downLongitude;
            }

            public void setDownLongitude(double downLongitude) {
                this.downLongitude = downLongitude;
            }

            public double getOnLatitude() {
                return onLatitude;
            }

            public void setOnLatitude(double onLatitude) {
                this.onLatitude = onLatitude;
            }

            public double getOnLongitude() {
                return onLongitude;
            }

            public void setOnLongitude(double onLongitude) {
                this.onLongitude = onLongitude;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getPlatform() {
                return platform;
            }

            public void setPlatform(int platform) {
                this.platform = platform;
            }

            public String getPushNumber() {
                return pushNumber;
            }

            public void setPushNumber(String pushNumber) {
                this.pushNumber = pushNumber;
            }

            public long getPushTime() {
                return pushTime;
            }

            public void setPushTime(long pushTime) {
                this.pushTime = pushTime;
            }

            public long getUpdateLockTime() {
                return updateLockTime;
            }

            public void setUpdateLockTime(long updateLockTime) {
                this.updateLockTime = updateLockTime;
            }

            public int getLockstatus() {
                return lockstatus;
            }

            public void setLockstatus(int lockstatus) {
                this.lockstatus = lockstatus;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getOpenPush() {
                return openPush;
            }

            public void setOpenPush(String openPush) {
                this.openPush = openPush;
            }

            public static class BikeOrderModelBean {
                /**
                 * bikeId : 543
                 * picture : 0
                 * type : 2
                 * latitude : 39.958752
                 * longitude : 116.323659
                 * price : 1200
                 * licenseTag : 80000005
                 */

                @SerializedName("bikeId")
                private String bikeId;
                @SerializedName("picture")
                private String picture;
                @SerializedName("type")
                private int type;
                @SerializedName("latitude")
                private double latitude;
                @SerializedName("longitude")
                private double longitude;
                @SerializedName("price")
                private String price;
                @SerializedName("licenseTag")
                private String licenseTag;

                public String getBikeId() {
                    return bikeId;
                }

                public void setBikeId(String bikeId) {
                    this.bikeId = bikeId;
                }

                public String getPicture() {
                    return picture;
                }

                public void setPicture(String picture) {
                    this.picture = picture;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public double getLatitude() {
                    return latitude;
                }

                public void setLatitude(double latitude) {
                    this.latitude = latitude;
                }

                public double getLongitude() {
                    return longitude;
                }

                public void setLongitude(double longitude) {
                    this.longitude = longitude;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getLicenseTag() {
                    return licenseTag;
                }

                public void setLicenseTag(String licenseTag) {
                    this.licenseTag = licenseTag;
                }
            }
        }

        public static class BikeModelBean {
            /**
             * id : 543
             * bikeId : 543
             * licenseTag : 80000005
             * useStatus : 10
             * lockStatus : 1
             * bikeStatus : 1
             * battery : 0
             * longitude : 116.323659
             * latitude : 39.958752
             * bikeMachineUnique : 98:5D:AD:1D:59:30
             * bikeMachinePassword : 12,23,24,25,26,27
             * bikeMachineKey : 11,22,33,44,55,66,77,88,99,98,97,96,95,94,93,92
             * lockType : 2
             * bikeType : 0
             */

            @SerializedName("id")
            private String id;
            @SerializedName("bikeId")
            private String bikeId;
            @SerializedName("licenseTag")
            private String licenseTag;
            @SerializedName("useStatus")
            private int useStatus;
            @SerializedName("lockStatus")
            private int lockStatus;
            @SerializedName("bikeStatus")
            private int bikeStatus;
            @SerializedName("battery")
            private double battery;
            @SerializedName("longitude")
            private double longitude;
            @SerializedName("latitude")
            private double latitude;
            @SerializedName("bikeMachineUnique")
            private String bikeMachineUnique;
            @SerializedName("bikeMachinePassword")
            private String bikeMachinePassword;
            @SerializedName("bikeMachineKey")
            private String bikeMachineKey;
            @SerializedName("lockType")
            private int lockType;
            @SerializedName("bikeType")
            private int bikeType;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getBikeId() {
                return bikeId;
            }

            public void setBikeId(String bikeId) {
                this.bikeId = bikeId;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getUseStatus() {
                return useStatus;
            }

            public void setUseStatus(int useStatus) {
                this.useStatus = useStatus;
            }

            public int getLockStatus() {
                return lockStatus;
            }

            public void setLockStatus(int lockStatus) {
                this.lockStatus = lockStatus;
            }

            public int getBikeStatus() {
                return bikeStatus;
            }

            public void setBikeStatus(int bikeStatus) {
                this.bikeStatus = bikeStatus;
            }

            public double getBattery() {
                return battery;
            }

            public void setBattery(double battery) {
                this.battery = battery;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getBikeMachineUnique() {
                return bikeMachineUnique;
            }

            public void setBikeMachineUnique(String bikeMachineUnique) {
                this.bikeMachineUnique = bikeMachineUnique;
            }

            public String getBikeMachinePassword() {
                return bikeMachinePassword;
            }

            public void setBikeMachinePassword(String bikeMachinePassword) {
                this.bikeMachinePassword = bikeMachinePassword;
            }

            public String getBikeMachineKey() {
                return bikeMachineKey;
            }

            public void setBikeMachineKey(String bikeMachineKey) {
                this.bikeMachineKey = bikeMachineKey;
            }

            public int getLockType() {
                return lockType;
            }

            public void setLockType(int lockType) {
                this.lockType = lockType;
            }

            public int getBikeType() {
                return bikeType;
            }

            public void setBikeType(int bikeType) {
                this.bikeType = bikeType;
            }
        }
    }
}
